// 计算某个数字的乘阶
function factorial(num:number):number{
    if(num === 0 || num === 1){
        return 1;
    }
    return num * factorial(num - 1)
}

console.log(factorial(100));
